
import zhreq from "@/api/axios";
export default {
  queryPageByCondition(params) {
    return zhreq.post("/config/omRole/queryHome", params);
  },
  queryByCondition(params) {
    return zhreq.post("/config/omRole/queryByCondition", params);
  },
  add(params) {
    return zhreq.post("/config/omRole/add", params);
  },
  edit(params) {
    return zhreq.post("/config/omRole/edit", params);
  },
  deleteBatch(params) {
    return zhreq.post(`/config/omRole/deleteBatch`, params);
  },
  bindUser(params) {
    return zhreq.post("/config/omRole/bindUser", params);
  },
  addRoles(params) {
    return zhreq.post("/config/omRole/addRoles", params);
  },
  updateStatus(params) {
    return zhreq.post("/config/omRole/updateStatus", params);
  },
};
